package com.tanhua.sso.service;

import com.arcsoft.face.toolkit.ImageInfo;

import java.io.File;


public interface FaceEngineService {

    /**
     * 检测图片是否为人像
     *
     * @param imageInfo 图像对象
     * @return true:人像，false:非人像
     */
    public boolean checkIsPortrait(ImageInfo imageInfo);

    public boolean checkIsPortrait(byte[] imageData) ;

    public boolean checkIsPortrait(File file) ;

}
